package Year21_Month11.day1110;

public class Soultion1 {
    public TreeNode mirrorTree(TreeNode root) {
        if(root == null){
            return null;
        }

        TreeNode cur = root.left;
        root.left = root.right;
        root.right = cur;
        mirrorTree(root.right);
        mirrorTree(root.left);

        return root;
    }
}
